package com.hw2;


import java.util.HashMap;
import java.util.Map;

public class CharP {

	char c;
	boolean isWord;
	Map<Character,CharP> children=new HashMap<Character,CharP>();
	
	CharP(char ch){
		c=ch;
	}
	CharP(){
		
	}
	public char getC() {
		return c;
	}
	public void setC(char c) {
		this.c = c;
	}
	public boolean isWord() {
		return isWord;
	}
	public void setWord(boolean isWord) {
		this.isWord = isWord;
	}
	public Map<Character, CharP> getChildren() {
		return children;
	}
	public void setChildren(Map<Character, CharP> children) {
		this.children = children;
	}
	
}
